getBlockState method

Map<String, dynamic> getBlockState()

Implementation

Map<String, dynamic> getBlockState() => {
      "Name": id,
      if (states != null) "properties": states,
    };