CorsSettings.fromJson constructor

CorsSettings.fromJson(
  1. Map json_
)

Implementation

CorsSettings.fromJson(core.Map json_)
    : this(
        allowHttpOptions: json_.containsKey('allowHttpOptions')
            ? json_['allowHttpOptions'] as core.bool
            : null,
      );