SignModel.fromJson constructor

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

Implementation

SignModel.fromJson(Map<String, dynamic> json) {
  _type = json['type']!= null ? json['type'] : "";
  _request =
      json['request'] != null ? new Request.fromJson(json['request']) : null;
  _signature = json['signature'] != null
      ? new Signature.fromJson(json['signature'])
      : null;
  _theme = json['theme'] != null ? new Theme.fromJson(json['theme']) : null;
}