ContractMethod.fromJson constructor
Implementation
factory ContractMethod.fromJson(Map<String, dynamic> json) => ContractMethod(
name: json['name'] as String,
params: (json['params'] as List? ?? const [])
.map((e) => e.toString())
.toList(growable: false),
returns: json['returns'] as String,
);