Redirect.fromJson constructor

Redirect.fromJson(
  1. 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,
      );