LedgerResponseLinks.fromJson constructor

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

Implementation

factory LedgerResponseLinks.fromJson(Map<String, dynamic> json) =>
    new LedgerResponseLinks(
        json['effects'] == null
            ? null
            : new Link.fromJson(json['effects'] as Map<String, dynamic>),
        json['operations'] == null
            ? null
            : new Link.fromJson(json['operations'] as Map<String, dynamic>),
        json['self'] == null
            ? null
            : new Link.fromJson(json['self'] as Map<String, dynamic>),
        json['transactions'] == null
            ? null
            : new Link.fromJson(
                json['transactions'] as Map<String, dynamic>));