ProtectionGroupLimits.fromJson constructor

ProtectionGroupLimits.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ProtectionGroupLimits.fromJson(Map<String, dynamic> json) {
  return ProtectionGroupLimits(
    maxProtectionGroups: json['MaxProtectionGroups'] as int,
    patternTypeLimits: ProtectionGroupPatternTypeLimits.fromJson(
        json['PatternTypeLimits'] as Map<String, dynamic>),
  );
}