UpdateWelcomeMessage$Mutation$UpdateWelcomeMessage.fromJson constructor

UpdateWelcomeMessage$Mutation$UpdateWelcomeMessage.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory UpdateWelcomeMessage$Mutation$UpdateWelcomeMessage.fromJson(
    Map<String, dynamic> json) {
  switch (json['__typename'].toString()) {
    case r'MyUserEventsVersioned':
      return UpdateWelcomeMessage$Mutation$UpdateWelcomeMessage$MyUserEventsVersioned
          .fromJson(json);
    case r'UpdateWelcomeMessageError':
      return UpdateWelcomeMessage$Mutation$UpdateWelcomeMessage$UpdateWelcomeMessageError
          .fromJson(json);
    default:
  }
  return _$UpdateWelcomeMessage$Mutation$UpdateWelcomeMessageFromJson(json);
}