GroupValue.fromJson constructor

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

Implementation

GroupValue.fromJson(Map<String, Object?> json)
    : nextBatch = ((v) => v != null ? v as String : null)(json['next_batch']),
      order = ((v) => v != null ? v as int : null)(json['order']),
      results = ((v) => v != null
          ? (v as List).map((v) => v as String).toList()
          : null)(json['results']);