toJson static method

Map<String, dynamic> toJson(
  1. NIMMessageAttachment? attachment
)

Implementation

static Map<String, dynamic> toJson(NIMMessageAttachment? attachment) {
  return _toMap(attachment);
}