NIMQuickCommentOption.fromMap(- Map<String, dynamic> param
)
Implementation
factory NIMQuickCommentOption.fromMap(Map<String, dynamic> param) {
return NIMQuickCommentOption(
fromAccount: param['fromAccount'] as String,
replyType: param['replyType'] as int,
time: param['time'] as int,
ext: param['ext'] as String,
needPush: param['needPush'] as bool?,
needBadge: param['needBadge'] as bool?,
pushTitle: param['pushTitle'] as String?,
pushContent: param['pushContent'] as String?,
pushPayload: (param['pushPayload'] as Map?)?.cast<String, dynamic>(),
);
}