OpenInfo.fromJson constructor

OpenInfo.fromJson(
  1. Map json_
)

Implementation

OpenInfo.fromJson(core.Map json_)
    : this(
        canReopen: json_.containsKey('canReopen')
            ? json_['canReopen'] as core.bool
            : null,
        openingDate: json_.containsKey('openingDate')
            ? Date.fromJson(
                json_['openingDate'] as core.Map<core.String, core.dynamic>)
            : null,
        status: json_.containsKey('status')
            ? json_['status'] as core.String
            : null,
      );