MyUserMixin$Muted.fromJson constructor

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

Implementation

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