AnalyticsDetails.fromJson constructor

AnalyticsDetails.fromJson(
  1. Map json_
)

Implementation

AnalyticsDetails.fromJson(core.Map json_)
    : this(
        analyticsProperty: json_.containsKey('analyticsProperty')
            ? AnalyticsProperty.fromJson(json_['analyticsProperty']
                as core.Map<core.String, core.dynamic>)
            : null,
        streamMappings: json_.containsKey('streamMappings')
            ? (json_['streamMappings'] as core.List)
                .map((value) => StreamMapping.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );