Redirect.fromJson constructor
Redirect.fromJson(
- Map _json
Implementation
Redirect.fromJson(core.Map _json)
: this(
glob: _json.containsKey('glob') ? _json['glob'] as core.String : null,
location: _json.containsKey('location')
? _json['location'] as core.String
: null,
regex:
_json.containsKey('regex') ? _json['regex'] as core.String : null,
statusCode: _json.containsKey('statusCode')
? _json['statusCode'] as core.int
: null,
);