OtlpLogExport.fromJson constructor

OtlpLogExport.fromJson(
  1. Map<String, dynamic> j
)

Implementation

factory OtlpLogExport.fromJson(Map<String, dynamic> j) => OtlpLogExport(
  resourceLogs: (j['resourceLogs'] as List<dynamic>? ?? [])
      .cast<Map<String, dynamic>>()
      .map(ResourceLogs.fromJson)
      .toList(),
);