ParametersSchema.fromJson constructor
Implementation
factory ParametersSchema.fromJson(Map<String, dynamic> json) =>
ParametersSchema(
schemaType: json['type'] as String,
properties: (json['properties'] as Map<String, dynamic>).map(
(key, value) => MapEntry(
key,
ParameterProperty.fromJson(value as Map<String, dynamic>),
),
),
required: List<String>.from(json['required'] as List),
);