Hit | Total | Coverage | |
---|---|---|---|
Lines | 0 | 3 | 0.0% |
Functions | 0 | 0 | - |
Branches | 0 | 0 | - |
Line | Branch | Hits | Source code |
---|---|---|---|
1 | import 'squadron_marshaler.dart'; |
||
2 |
|
||
3 | /// Identity marshaler. |
||
4 | final class IdentityMarshaler<T> implements SquadronMarshaler<T, T> { |
||
5 | 0 | const IdentityMarshaler(); |
|
6 |
|
||
7 | 0 | @override |
|
8 | T marshal(T data) => data; |
||
9 |
|
||
10 | 0 | @override |
|
11 | T unmarshal(T data) => data; |
||
12 | } |