DynamicGroupMetadata.fromJson constructor

DynamicGroupMetadata.fromJson(
  1. Map json_
)

Implementation

DynamicGroupMetadata.fromJson(core.Map json_)
    : this(
        queries: json_.containsKey('queries')
            ? (json_['queries'] as core.List)
                .map((value) => DynamicGroupQuery.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        status: json_.containsKey('status')
            ? DynamicGroupStatus.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
      );