TurnConfigRes.fromJson constructor

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

Implementation

TurnConfigRes.fromJson(Map<String, dynamic> json) {
  code = json['code'] as String?;
  data = (json['data'] as Map<String, dynamic>?) != null
      ? Data.fromJson(json['data'] as Map<String, dynamic>)
      : null;
  message = json['message'] as String?;
}