EnablePullRequest.fromJson constructor

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

Implementation

factory EnablePullRequest.fromJson(
  Map<String, Object?> json,
) =>
    EnablePullRequest(
      ipAddress:
          json["ip_address"] == null ? null : json["ip_address"] as String,
      userAgent:
          json["user_agent"] == null ? null : json["user_agent"] as String,
      accountId: json["account_id"] as String,
    );