File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11import 'dart:convert' ;
22import 'dart:typed_data' ;
3+
34import 'package:json_annotation/json_annotation.dart' ;
45
56import './conversion_helper.dart' ;
7+ import '../eosdart_base.dart' ;
8+ import '../jsons.dart' ;
69import '../numeric.dart' ;
710import '../serialize.dart' as ser;
8- import '../jsons.dart' ;
9- import '../eosdart_base.dart' ;
1011
1112part 'abi.g.dart' ;
1213
@@ -63,6 +64,7 @@ class AbiResp with ConversionHelper {
6364 return Abi .fromJson (json.decode (json.encode (b)));
6465 } catch (e) {
6566 print (e.message);
67+ return null ;
6668 }
6769 }
6870
Original file line number Diff line number Diff line change 11import 'dart:typed_data' ;
2-
32import 'package:json_annotation/json_annotation.dart' ;
43
54import './action.dart' ;
@@ -133,7 +132,6 @@ class Transaction {
133132
134133 Uint8List toBinary (Type transactionType) {
135134 var buffer = ser.SerialBuffer (Uint8List (0 ));
136- Map <String , dynamic > aa = this .toJson ();
137135 transactionType.serialize (transactionType, buffer, this .toJson ());
138136 return buffer.asUint8List ();
139137 }
Original file line number Diff line number Diff line change @@ -5,16 +5,16 @@ homepage: https://github.com/primes-network/eosdart
55author : primes-network <primes.ntwk@gmail.com>
66
77environment :
8- sdk : ' >=2.0 .0 <3.0.0'
8+ sdk : ' >=2.1 .0 <3.0.0'
99
1010dependencies :
11- http : ^0.12.0+1
12- json_annotation : ^2.2.0
13- pointycastle : ^1.0.1
11+ http : ^0.12.0+4
12+ json_annotation : ^3.0.1
13+ pointycastle : ^1.0.2
1414 eosdart_ecc : ^0.4.0
1515# path: ^1.4.1
1616
1717dev_dependencies :
1818 test : ^1.0.0
19- build_runner : ^1.0.0
20- json_serializable : ^2.0.0
19+ build_runner : ^1.7.4
20+ json_serializable : ^3.2.3
You can’t perform that action at this time.
0 commit comments