NIMHandleQuickCommentOption.fromMap constructor

NIMHandleQuickCommentOption.fromMap(
  1. Map<String, dynamic> param
)

Implementation

factory NIMHandleQuickCommentOption.fromMap(Map<String, dynamic> param) {
  return NIMHandleQuickCommentOption(
      key: NIMMessageKey.fromMap((param['key'] as Map).cast()),
      commentOption: NIMQuickCommentOption.fromMap(
          (param['commentOption'] as Map).cast()));
}