toJson method

Map<String, Object> toJson()

Converts this model to the map sent to the native SDK.

Implementation

Map<String, Object> toJson() => <String, Object>{
      'data': data,
      'size': size,
    };