UpdateGroupDirectLink$Mutation$UpdateGroupDirectLink.fromJson constructor

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

Implementation

factory UpdateGroupDirectLink$Mutation$UpdateGroupDirectLink.fromJson(
  Map<String, dynamic> json,
) {
  switch (json['__typename'].toString()) {
    case r'DirectLinkVersionedEvents':
      return UpdateGroupDirectLink$Mutation$UpdateGroupDirectLink$DirectLinkVersionedEvents.fromJson(
        json,
      );
    case r'UpdateGroupDirectLinkError':
      return UpdateGroupDirectLink$Mutation$UpdateGroupDirectLink$UpdateGroupDirectLinkError.fromJson(
        json,
      );
    default:
  }
  return _$UpdateGroupDirectLink$Mutation$UpdateGroupDirectLinkFromJson(json);
}