Entity.fromJson constructor

Entity.fromJson(
  1. Map json_
)

Implementation

Entity.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        typeId: json_.containsKey('typeId')
            ? json_['typeId'] as core.String
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );