MyUserMixin$Online.fromJson constructor

MyUserMixin$Online.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory MyUserMixin$Online.fromJson(Map<String, dynamic> json) {
  switch (json['__typename'].toString()) {
    case r'UserOffline':
      return MyUserMixin$Online$UserOffline.fromJson(json);
    default:
  }
  return _$MyUserMixin$OnlineFromJson(json);
}