BanInfo.fromJSON constructor

BanInfo.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

BanInfo.fromJSON(Map<String, dynamic> json)
    : expiry = json['expiration'],
      reason = json['reason'];