toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (glob != null) 'glob': glob!,
      if (location != null) 'location': location!,
      if (regex != null) 'regex': regex!,
      if (statusCode != null) 'statusCode': statusCode!,
    };