toJson method

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

Implementation

@override
Map<String, dynamic> toJson(UFeedViewPostReason object) => object.when(
      reasonRepost: const ReasonRepostConverter().toJson,
      unknown: (data) => data,
    );