AccessLevel.fromJson constructor
AccessLevel.fromJson(
- Map json_
Implementation
AccessLevel.fromJson(core.Map json_)
: this(
basic: json_.containsKey('basic')
? BasicLevel.fromJson(
json_['basic'] as core.Map<core.String, core.dynamic>)
: null,
custom: json_.containsKey('custom')
? CustomLevel.fromJson(
json_['custom'] as core.Map<core.String, core.dynamic>)
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
);