CreateProfileRequest.fromJson constructor

CreateProfileRequest.fromJson(
  1. Map json_
)

Implementation

CreateProfileRequest.fromJson(core.Map json_)
    : this(
        deployment: json_.containsKey('deployment')
            ? Deployment.fromJson(
                json_['deployment'] as core.Map<core.String, core.dynamic>)
            : null,
        profileType: json_.containsKey('profileType')
            ? (json_['profileType'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );