ChainLink.fromJson constructor

ChainLink.fromJson(
  1. Map<String, dynamic> json
)

Read this payload from a decoded JSON object.

Implementation

factory ChainLink.fromJson(Map<String, dynamic> json) => ChainLink(
      id: json['id'] as String,
      digest: json['digest'] as String,
    );