OperationToken.fromJSON constructor

OperationToken.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory OperationToken.fromJSON(Map<String, dynamic> data) {
	return OperationToken(
		(data["tokenHash"] as String),
		(data["creationTime"] as int),
		(data["validity"] as int),
		Operation.fromJSON(data["operation"]),
		description: (data["description"] as String?),
	);
}