Action.fromJson constructor

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

Implementation

factory Action.fromJson(Map<String, dynamic> json) {
  return Action(
    id: json['id'] as String,
    amount: json['amount'] as int,
    text: json['text'] as String?,
    html: json['html'] as String?,
  );
}