toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() {
  switch ($$typename) {
    case r'MuteUntilDuration':
      return (this as MyUserMixin$Muted$MuteUntilDuration).toJson();
    case r'MuteForeverDuration':
      return (this as MyUserMixin$Muted$MuteForeverDuration).toJson();
    default:
  }
  return _$MyUserMixin$MutedToJson(this);
}