NotificationChannelDescriptor.fromJson constructor

NotificationChannelDescriptor.fromJson(
  1. Map json_
)

Implementation

NotificationChannelDescriptor.fromJson(core.Map json_)
    : this(
        description: json_['description'] as core.String?,
        displayName: json_['displayName'] as core.String?,
        labels: (json_['labels'] as core.List?)
            ?.map((value) => LabelDescriptor.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        launchStage: json_['launchStage'] as core.String?,
        name: json_['name'] as core.String?,
        supportedTiers: (json_['supportedTiers'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
        type: json_['type'] as core.String?,
      );