NIMPushNoDisturbConfig.fromMap constructor

NIMPushNoDisturbConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory NIMPushNoDisturbConfig.fromMap(Map<String, dynamic> map) {
  return NIMPushNoDisturbConfig(
    enable: map['enable'] as bool,
    startTime: map['startTime'] as String?,
    endTime: map['endTime'] as String?,
  );
}