toJson method

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

Implementation

@override
Map<String, dynamic> toJson(UMessageInputEmbed object) => object.when(
      record: const RecordConverter().toJson,
      unknown: (data) => data,
    );