GetTelemetryMetadataResponse.fromJson constructor

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

Implementation

factory GetTelemetryMetadataResponse.fromJson(Map<String, dynamic> json) {
  return GetTelemetryMetadataResponse(
    telemetryMetadata: (json['telemetryMetadata'] as List)
        .whereNotNull()
        .map((e) => TelemetryMetadata.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}