RemoteIssueLink.fromJson constructor

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

Implementation

factory RemoteIssueLink.fromJson(Map<String, Object?> json) {
  return RemoteIssueLink(
    application: json[r'application'] != null
        ? Application.fromJson(json[r'application']! as Map<String, Object?>)
        : null,
    globalId: json[r'globalId'] as String?,
    id: (json[r'id'] as num?)?.toInt(),
    object: json[r'object'] != null
        ? RemoteObject.fromJson(json[r'object']! as Map<String, Object?>)
        : null,
    relationship: json[r'relationship'] as String?,
    self: json[r'self'] as String?,
  );
}