toMap method

  1. @override
Map toMap()
override

Implementation

@override
Map toMap() {
  return {
    'File': {'path': path, 'child': child?.toMap()}
  };
}