RequestTokenResponse.fromJson constructor

RequestTokenResponse.fromJson(
  1. Map<String, Object?> json
)

Implementation

RequestTokenResponse.fromJson(Map<String, Object?> json)
    : sid = json['sid'] as String,
      submitUrl = ((v) =>
          v != null ? Uri.parse(v as String) : null)(json['submit_url']);