BasicService.fromJson constructor

BasicService.fromJson(
  1. Map json_
)

Implementation

BasicService.fromJson(core.Map json_)
    : this(
        serviceLabels:
            (json_['serviceLabels'] as core.Map<core.String, core.dynamic>?)
                ?.map(
          (key, value) => core.MapEntry(
            key,
            value as core.String,
          ),
        ),
        serviceType: json_['serviceType'] as core.String?,
      );