TerminalConfigurationConfigurationResourceOfflineConfig.fromJson constructor

TerminalConfigurationConfigurationResourceOfflineConfig.fromJson(
  1. Object? json
)

Implementation

factory TerminalConfigurationConfigurationResourceOfflineConfig.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TerminalConfigurationConfigurationResourceOfflineConfig(
      enabled: map['enabled'] == null ? null : (map['enabled'] as bool));
}