GetLogGroupFieldsResponse.fromJson constructor

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

Implementation

factory GetLogGroupFieldsResponse.fromJson(Map<String, dynamic> json) {
  return GetLogGroupFieldsResponse(
    logGroupFields: (json['logGroupFields'] as List?)
        ?.whereNotNull()
        .map((e) => LogGroupField.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}