ProfileMetadata.fromJson constructor

ProfileMetadata.fromJson(
  1. Map json_
)

Implementation

ProfileMetadata.fromJson(core.Map json_)
    : this(
        objectType: json_.containsKey('objectType')
            ? json_['objectType'] as core.String
            : null,
        userTypes: json_.containsKey('userTypes')
            ? (json_['userTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );