Entity.fromJson constructor

Entity.fromJson(
  1. Map json_
)

Implementation

Entity.fromJson(core.Map json_)
    : this(
        fields: json_.containsKey('fields')
            ? json_['fields'] as core.Map<core.String, core.dynamic>
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );