GetTerminalConfigurationsConfigurationResponse.fromJson constructor

GetTerminalConfigurationsConfigurationResponse.fromJson(
  1. Object? json
)

Implementation

factory GetTerminalConfigurationsConfigurationResponse.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  final type = (map['object'] as String);
  final factory = $mapping[type];
  if (factory == null) {
    throw ArgumentError(
        'Unknown type of GetTerminalConfigurationsConfigurationResponse: "$type"');
  }
  return factory(map);
}