UserMixin$Online.fromJson constructor

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

Implementation

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