Confirm.fromJson constructor

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

Implementation

factory Confirm.fromJson(Map<String, dynamic> json) => Confirm(
      json['id'] as int,
      json['params'] as List<dynamic>,
    );