toMap method

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

Implementation

@override
Map<String, dynamic> toMap() => _$NIMFileAttachmentToJson(this)
  ..['messageType'] =
      NIMMessageTypeConverter(messageType: NIMMessageType.file).toValue();