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,
      );