toJson method

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

Implementation

@override
Map<String, dynamic> toJson(USubscribeReposMessage object) => object.when(
      commit: const CommitConverter().toJson,
      identity: const IdentityConverter().toJson,
      account: const AccountConverter().toJson,
      info: const InfoConverter().toJson,
      unknown: (data) => data,
    );