BucketWebsite.fromJson constructor

BucketWebsite.fromJson(
  1. Map _json
)

Implementation

BucketWebsite.fromJson(core.Map _json)
    : this(
        mainPageSuffix: _json.containsKey('mainPageSuffix')
            ? _json['mainPageSuffix'] as core.String
            : null,
        notFoundPage: _json.containsKey('notFoundPage')
            ? _json['notFoundPage'] as core.String
            : null,
      );