LabelParameterVersionResult.fromJson constructor

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

Implementation

factory LabelParameterVersionResult.fromJson(Map<String, dynamic> json) {
  return LabelParameterVersionResult(
    invalidLabels: (json['InvalidLabels'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    parameterVersion: json['ParameterVersion'] as int?,
  );
}